home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_BallsAndBubbles_Orang < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.1 KB  |  68 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'An fresh and tasty orange',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 50, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (255,255,255), 
  20.                 'Direction': (1,1,-1), 
  21.                 'HighlightSize': 15
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (77,53,15), 
  25.                 'Direction': (-0.713603,-0.53733,0.449497), 
  26.                 'HighlightSize': 22
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (59,42,15), 
  30.                 'Direction': (-0.760008,-0.573204,-0.306307), 
  31.                 'HighlightSize': 17
  32.                 }]
  33.             }, 
  34.         'Mode': App.Constants.CountType.Single, 
  35.         'Multiple': {
  36.             
  37.             }, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.true
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (255,162,15), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.true, 
  50.                 'Depth': -13, 
  51.                 'FileName': 'Noise', 
  52.                 'Fit': App.Constants.Boolean.false, 
  53.                 'Size': 25, 
  54.                 'Smoothness': 0
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.false
  58.                 }, 
  59.             'Gloss': 33, 
  60.             'Opacity': 100, 
  61.             'Shininess': 50
  62.             }
  63.         }
  64.  
  65. def Do(Environment):
  66.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  67.  
  68.